﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Dto
{
    public class SyncErrorPageDto : DtoBase
    {
        public Guid MobileId { get; set; }
        public string MobileName { get; set; }
        public Guid UserId { get; set; }
        public string DepartName { get; set; }
        public string NickName { get; set; }
        public int UserType { get; set; }
        public string UserTypeStr
        {
            get
            {
                return Enum.GetName(typeof(EnumUserType), this.UserType);
            }
        }
        public int OperateType { get; set; }
        public string OperateTypeStr
        {
            get
            {
                return Enum.GetName(typeof(EnumOperateType), this.OperateType);
            }
        }
        public int ErrorType { get; set; }
        public string ErrorTypeStr {
            get
            {
                return Enum.GetName(typeof(EnumRecordError), this.ErrorType);
            }
        }
        public string ErrorMessage { get; set; }
        public int Status { get; set; }
    }
}
